<?php
header("Content-type:text/html;charset=utf-8");
include_once('dbConn.php');//引用数据库连接文件
$sql = "insert into users(uname,gender,email,tel) values('用户名','性别','邮箱','电话')";
$result = mysqli_query($conn,$sql);
if($result){
    echo "添加数据成功!";
}else{
    echo "添加数据失败!";
}